import { createApp } from "vue";
import App from "./App.vue";
import ElementPlus from "element-plus";
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
import "element-plus/theme-chalk/index.css";
import "element-plus/theme-chalk/dark/css-vars.css";

import SvgIcon from "./components/SvgIcon.vue";
import "./assets/iconfont.js";

import { setupStore } from "./store";

const app = createApp(App);

app.use(ElementPlus, {
  locale: zhCn
});
setupStore(app);

app.component("SvgIcon", SvgIcon);

app.mount("#app");
